<% props = readonly_properties(object) -%>
<% unless props.empty? -%>


def set_readonly_options(opts, states):
<%   fl = true -%>
<%   props.each do |prop| -%>
<%     c = set_readonly_option(prop, "", "opts", "states", 4) -%>
<%   unless c.empty? -%>
<%       unless fl -%>

<%       end -%>
<%= c %>
<%       fl = false -%>
<%   end -%>
<% end -%>
<%   props.each do |prop| -%>
<%= lines(build_set_readonly_option_method("", prop)) -%>
<%   end -%>
<% end -%>
